{template 'common/header'}
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/common.css" />
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/media-setting.css" />

<div id="louie" data-url="{php echo $this->createWebUrl('api')}">
    {template 'web/setting/common/nav/nav'}
    <form action="" method="post" class="row col-xs-6" v-on:submit.prevent="submit">
        <div class="form-group">
            <label>用户素材库默认内存(单位M)</label>
            <input type="text" v-model.trim="user_media_size" class="form-control" placeholder="用户素材库默认内存(单位M)" />
        </div>
        <div class="form-group">
            <label>是否审核素材</label><br />
            <label class="radio-inline">
                <input type="radio" v-model="media_check" value="2" /> 审核
            </label>
            <label class="radio-inline">
                <input type="radio" v-model="media_check" value="1" /> 不审核
            </label>
        </div>
        <div class="form-group">
            <label>图片上传大小限制(单位M)</label>
            <input type="text" v-model.trim="image_limit_size" class="form-control" placeholder="图片上传大小限制(单位M)" />
        </div>
        <div class="form-group">
            <label>视频时长限制(单位:秒)</label>
            <input type="text" v-model.trim="video_limit_duration" class="form-control" placeholder="视频时长限制(单位:秒)" />
        </div>
        <button class="btn btn-primary" type="submit">确认设置</button>
    </form>

    <!--提示框--><v-dialog style="z-index:99999999;"/>
</div>

<script src="../addons/kuyuan_red/dist/web/common.js"></script>
<script src="../addons/kuyuan_red/dist/web/media-setting.js"></script>
{template 'common/footer'}